SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '221fefc9bbf6c566213f8e75e9a9169354b9640616f36dfe1e27dfe3f4203fc7' 
  AND token = 'jsYE1vS8FeubhgPqISnxPsjeaPwaPMR6JYLvdCbsDK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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