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

Query time 0.00026

JSON explain

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