SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be3fa30cd445aa480cffc28bc7d1819a197c9a8a5a9f0e6375829eeea42830dc' 
  AND token = 'g0MDPuLD/KZGB0ATbr9rWyXRjsYmO1T+3dTC70xXI6k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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