SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff3f38eaca8df7c0be9b53759402db344669c7e54cc9dc64645f6716d29d333e' 
  AND token = '5spzWdwnI75z52Ekd3ujJyCaylz8dOwD6Hw63qgXr+Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}