SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2879d30c7fb85a9bae1dc00a397e7c8e0b3aed9b83e796b43f48a7740f22ca3' 
  AND token = 'osAXMBAbu05OD/ZO7udGEn48gh7SXnkLyg7IpamB1u0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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