SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31b2c8f1870a2833158025d85a737abdd7131af222d81a1d412c7fb383e7c34c' 
  AND token = 'Kn04fPS2TaED1oqo+xqRax5BWmjAoFbt7NgocBNid7c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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