SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a598763ddd1c31eb02c5ff5255c5d5f4d55fe831900683e6ab9a5e139b02a2dd' 
  AND token = 'ALtyHkiAp2/6x5Lk3aHZdSAFgJyC6nDLdJQHqbBUrm0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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