SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e3c3238ea4d2010e4b764110027d5412d1fda40fc1e652020ad984732c4e54b8' 
  AND token = 'Rv6CVb0LcWDdVAR8YQF83cA5tP+e7VGFxMFlJgoLRNg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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