SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8766dc7e642d1ef54ff61e36f8ba2536afecf4788ce82380ec021e668dbf9865' 
  AND token = 'm84YjNUaLJuI2Stnpriot9WJzZo4bRHgZKg2ewqNpe8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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