SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df7b502fdde0fad0567eaafa25bbf4617dca796775339483a2e5836e187aa16b' 
  AND token = '/5K/esoc9GhKAhh1mGFFRF7IH4mD2AXQTEouPpWYmQU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}