SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2eba81a401a47ed6f3cc71eb2125ce6f2cfd6b2c65580fb5c77963aed2cc9aa' 
  AND token = '0pkjxn7QHi9trbf61WFJBM36WEnfi48jQVYoekkUSuU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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