SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1287f9a71d1fb4c0eead535b214736f7ac3079a6c5ece8b7df3ee353a3ffdb96' 
  AND token = 'aDK/mgQ6tQW1rk5AQ6l0Gv/kPdL0cjWOGAlRhLAKqic=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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