SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c03065983bde74822d96b54146dd7fdc497907aff708daa3560996ce46e2142' 
  AND token = 'BaYGnhJe7j8z2iq9XX0EVFXtHbDLREheD1BEiNcJIc4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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