SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a786c889b8a87355288091b859f9b252cc451a256abcd4ea7c9f0014a961916' 
  AND token = 'BfUYKc+FhEBPSDIkCgHDjzIjGVvNzfigzDGEmumhzt0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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