SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bbd3b5bab972a2a03c68ae1fc7856292bcdfce616b2d219dfe69f6c90533ef8c' 
  AND token = 'X7s+2tlE9yEpJBFSxe6Yr4Frkb+xcpBJbe9lHVL7Tr8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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