SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9401bc4f6f31185f7975490ab77a81b1ff9634aff371504f658483bca8a5fda' 
  AND token = 'ptsMte/2ONW2eq1/Huj1vq43WTlarN3xHCpzgM8oRR0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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