SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '474e25c90e3cd795ff973eef116478fce338147b4178108d0384e20ad1a7b3d4' 
  AND token = '272M53nBc/dwn94Qe8d5xVyat0SY47j06pqDiNFUNsE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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