SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1eaac54ab7aa8b5d3c7908de97b878ae6e5b9b1ca0f115db0597397bc40234a' 
  AND token = 'phTH0VJwdqiuczkfQeb/39a2z0VAtOMtmVNP1/wRUm0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

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