SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2882f582ab7d4674ab140a4c1dad9226eaa58268df8998d2152d1ba803c914f' 
  AND token = 'f97I7n5S6G03evDjmlbBqpVONHIgeY0e4LCtg6c9r1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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