SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aff0ba04c28a23e7ebf11d4a7a9c0bce767fa7e0cc480ef338422d744bbef094' 
  AND token = 'ZyZy148lt2CE/X9DDqRgiK+bPP72UBpUGwUi4ds1Ybo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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