SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79b9a3b2024f2c478039283df12558d4e1ce140d70d481530df4ed07340f0a1c' 
  AND token = 'BDcxtarkvQUUI6p1z0EcDUUtM88lkxJ1fKRFPTANb2A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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