SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8339bc1f631f77cd5fe5835e93246af5258f5ea7f6f59bff242758902ea7e7ff' 
  AND token = 'B5XiX69yorxv8GWFU368myiOmsTzflC3d7s5Pgz65fk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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