SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a866930fff10b051caa1b55ba4093bd4a9898566c51c163d7153c62ad05cfa07' 
  AND token = '7rs4/eYTpU8Wv6trLQuYJxMyW3zQmhkAeZcLct61uJo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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