SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a72918cbd3fc3f866841cbf24f87bbfd2fca5e2f0f1a176ed1de9d51180a0be' 
  AND token = 'N2GPCs+TNqmH86izSX8Vwr6fWhnLO/YNm1R51jaHm4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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